
<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>H+ 后台主题UI框架 - 空白页</title>
    <meta name="keywords" content="">
    <meta name="description" content="">

    <link rel="shortcut icon" href="__STATIC__/layout/favicon.ico">
     <link href="__STATIC__/layout/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="__STATIC__/layout/css/font-awesome.css?v=4.4.0" rel="stylesheet">
     <!-- jqgrid-->
    <link href="__STATIC__/layout/css/animate.css" rel="stylesheet">
    <link href="__STATIC__/layout/css/style.css?v=4.1.0" rel="stylesheet">
    <link href="__STATIC__/layout/css/gyq.css" rel="stylesheet">
    <link rel="stylesheet" href="__STATIC__/layout/css/demo.css" type="text/css">
  <style>
     .checkbox-inline input[type=checkbox],.radio-inline input[type=radio] {
           margin-top: 4px;
      }
  </style>
</head>

<body style="color:#333;padding:3px;">
    <!-- 标题 -->
    <div class="page-heade">
      <h2 class="title_color text-center">添加二级出货</h2>
    </div>
    <!-- 标题 -->
    <div>
    <form action=""  class="form-inline" method="post">
      <table class="row-margin-top tab-content table-bordered table text-left" border="1">
          <tr>
            <td style="min-width: 140px" class="text-right"><label for="" class="form-label">日期<span class="colorRed">*</span>：</label></td>
            <td><input type="text" class="form-control layer-date" name="" id="stairTwo"></td>
             </tr>
             <tr>
                 <td style="min-width: 140px;width: 140px" class="text-right"><label for="" class="form-label">经销商名称<span class="colorRed">*</span>：</label></td>
                 <td><input type="text" class="form-control" name="" placeholder="请输入关键字或空格查询"><a href="javascript:;" id="selectAgency">选择</a></td>
             </tr>
              <tr>
                 <td style="min-width: 140px" class="text-right"><label for="" class="form-label">类型<span class="colorRed">*</span>：</label></td>
               <td>
                   <label class="radio-inline">
                      <input type="radio" id="shipNet"  checked value="option1" name="shipKind">出货至网点
                   </label>
                   <label class="radio-inline">
                       <input type="radio" id="shipSystem" value="option2" name="shipKind">出货至系统
                   </label>
                </td>
             </tr>
             <tr>
                 <td style="min-width: 140px" class="text-right shipLab"><label for="" class="form-label">网点名称</label><span class="colorRed">*</span>：</td>
                 <td>
                    <div class="form-group" id="NetDiv">
                        <input type="text" class="form-control" name=""><a href="javascript:;" id="selectNet">选择</a>
                    </div>
                     <div class="form-group" id="SysDiv"  style="display: none;">
                        <input type="text" class="form-control" name=""><a href="javascript:;" id="SysDiv">选择</a>
                    </div>
                 </td>
             </tr>
             <tr>
                 <td style="min-width: 140px" class="text-right"><label for="" class="form-label">产品名称<span class="colorRed">*</span>：</label></td>
                 <td><input type="text" class="form-control" name="" placeholder="请输入关键字或空格查询"><a href="javascript:;" id="selectProduct">选择</a></td>
             </tr>
              <tr>
                 <td style="min-width: 140px" class="text-right"><label for="" class="form-label">单位<span class="colorRed">*</span>：</label></td>
                 <td>
                 <select name="" id="" class="form-control">
                    <option value="0">请选择</option>
                 </select>
                 </td>
             </tr>
              <tr>
                 <td style="min-width: 140px" class="text-right"><label for="" class="form-label">供货价(元)<span class="colorRed">*</span>：</label></td>
                 <td><input type="text" class="form-control" name=""></td>
             </tr>
             <tr>
                 <td style="min-width: 140px" class="text-right"><label for="" class="form-label">供货数量<span class="colorRed">*</span>：</label></td>
                 <td><input type="text" class="form-control" name="" >注：退货可录入负数。</td>
             </tr>
              <tr>
                 <td style="min-width: 140px" class="text-right"><label for="" class="form-label">金额(元)<span class="colorRed">*</span>：</label></td>
                 <td><input type="text" class="form-control" name=""></td>
             </tr>
             <tr>
                 <td style="min-width: 140px" class="text-right"><label for="" class="form-label">销售人员：</label></td>
                 <td><input type="text" class="form-control" name="" placeholder="请输入关键字或空格查询"><a href="javascript:;" id="selectAgency">选择</a></td>
             </tr>
              <tr>
                 <td style="min-width: 140px" class="text-right"><label for="" class="form-label">批号/批次：</label></td>
                 <td><input type="text" class="form-control" name=""></td>
             </tr>
             <tr>
            <td style="min-width: 140px" class="text-right" rowspan="2"><label for="" class="form-label">备注：</label></td>
            <td>
                <textarea name="" id="" class="form-control" rows="2" style="user-select:none;width: 70%"></textarea><span style="vertical-align: bottom;">100</span>
            </td>
             </tr>
      </table>
     <div class="form-group white-bg" style="margin:20px 10px 20px 20px" id="upfileDiv">
        <input type="file" id="exampleInputFile">
        <p class="help-block" style="color:#1295d2">注：最多上传15个文件，每个文件小于50M,支持格式：</p>
        <p class="help-block" style="color:#1295d2">jpg,bnp,gif,png,jpeg,tif,raw,doc,docx,xls,xlsx,ppt,pptx,txt,pdf,rar,zip,mp4,avi,rmvb,rm,mid,3gp,AVI,3GP,,mpg,mp3,wma,wav</p>
    </div>
       <div class="text-center">
             <button class="btn btn-info" type="button">提交</button><span class="lr_5"></span>
            <button class="btn btn-success">保存并再添一条</button><span class="lr_5"></span>
            <button class="btn btn-warning" type="button" onclick="back()">返回</button>
      </div>
</form>
    </div>
    <!-- 全局js -->
    <script src="__STATIC__/layout/js/jquery.min.js?v=2.1.4"></script>
    <script src="__STATIC__/layout/js/bootstrap.min.js?v=3.3.6"></script>
    <!-- <script src="js/plugins/metisMenu/jquery.metisMenu.js"></script> -->
    <script src="__STATIC__/layout/js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
    <!--统计代码，可删除-->
    <script src="__STATIC__/layout/js/plugins/layer/laydate/laydate.js"></script>
      <script src="__STATIC__/layout/js/common.js"></script>
   <script>
        laydate({
          elem:"#stairTwo",
          event:"focus"
        })

         $("input:radio[name=shipKind]").click(function(){
              if($("#shipNet").prop("checked")!=true){
                     $(".shipLab").children('label').text('系统名称')
                     $('#SysDiv').show();
                     $('#NetDiv').hide();
                  }else{
                      $(".shipLab").children('label').text('网点名称')
                      $('#SysDiv').hide();
                      $('#NetDiv').show();
                  } ;
               });
   </script>
</body>

</html>
